import Son from './02-father2Son-son'
// 定义传递参数
interface Props {
  // 定义参数名1
  name: string,
  age: number,
  isMine: boolean
}
function App() {
  const props: Props = {
    name: 'Black',
    age: 18,
    isMine: true
  }
  return (
    <Son name={props.name} age={props.age} isMine={props.isMine}></Son>
  )
}

export default App
